package org.example.javadt.mapperjiekou;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.javadt.entity.posts;


import java.util.List;
@Mapper
public interface posmp {
    List<posts> selectall();

    @Select({"select *from posts where user_id=#{user_id}"})
    List<posts> selectbyid(String user_id);
}
